package tt.lab.designparttern.observer;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Observer a = new ObserverA();
		Observer b = new ObserverB();
		
		Subject subject  =new Subject();
		subject.addObserver(a);
		subject.addObserver(b);
		
		subject.setName("George Tao");
	}

}
